﻿#pragma once


// CTOCForm 对话框

class CTOCForm : public CDialog
{
	DECLARE_DYNAMIC(CTOCForm)

public:
	CTOCForm(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CTOCForm();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_FORM_TOC };
#endif

protected:
	//定义TOCControl变量
	ITOCControl2Ptr m_ipTOCControl;

public:
	void SetBuddyMapControl(IMapControl2Ptr ipMapControl);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
};
